package de.jmda.home.ui.vaadin.uiarea;

import com.vaadin.ui.Notification;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;

@SuppressWarnings("serial")
public class AreaBottomComponentController implements ClickListener
{
	private AreaBottomComponent component;

	public AreaBottomComponentController(AreaBottomComponent areaBottomComponent)
  {
		component = areaBottomComponent;
		
		component.getBtnNews().addClickListener(this);
  }

	@Override
  public void buttonClick(ClickEvent event)
  {
	  Notification.show("famous last words ...");
  }
}